Release 10.1A: OpenEdge Deployment:
WebClient Applications


Setting up the application on the Web server machine

The following section provides information about applications on Web server machines.

To set up the application to launch from your Web server machine:

  1. Recursively copy all files from the %DOCS%\webinstall\sports2000\web_image directory to the sports2000 subdirectory of the Web server document root directory.
  2. Copy all files from your %DLC%\webinstall\webclient\web_image directory to the Web server document root directory’s webclient subdirectory.
  3. In the Web server document root directory’s Webclient subdirectory, edit the webclient.htm file to install the application automatically just after installing WebClient. To do this:
    1. Uncomment the lines that invoke the One-Click application install directly. (Keep commented the lines that invoke the WebClient initializer.)
    2. Change <URL to your One-Click application installer directory> to the http://%MYWEBSERVER%/sports2000 URL.
    3. Change <URL to your .prowcapc file> to the http://%MYWEBSERVER%/sports2000/sports2000.prowcapc URL. For example:
    4. ether.SetProperty(“ApplicationURL”, “http://pctest/sports2000”); 
      ether.SetProperty(“ProwcappURL”, 
      “http://pctest/sports2000/sports2000.prowcapc”); 
      

      These changes let you install WebClient and the Sports2000 application on the client machine.

  4. In the Web server document root directory’s sports2000 subdirectory, make the following changes:
    1. Edit the bootstrap.htm file, replacing the document.location.href and window.location URLs to match the location of your configuration and webclient.htm files, respectively. For example:
    2. document.location.href = 
      "http://pctest/sports2000/sports2000.prowcapc"; 
      window.location = "http://pctest/webclient/webclient.htm"; 
      

    3. Edit the sports2000.htm file, uncommenting the line containing the prowcapc entry, and including the domain name or IP address of your Web server and the name of your application configuration file. For example:
    4. ether.SetProperty("ProwcappURL",
      "http://pctest/sports2000/sports2000.prowcapc"); 
      

  5. Use the WebClient Application Assembler PRO*Tool to generate a customized sports2000.prowcapp file. To do this:
    1. Copy %DOCS%\webinstall\sports2000\sports2000.wcp to any directory.
    2. Open the file with the WebClient Application Assembler.
    3. Modify the URL of your configuration file specified in the Configuration File Locator window, the URL of the WebClient install on the WebClient tab, and the URL for your application install specified on the Options tab.
    4. From the WebClient Application Assembler’s main menu, choose Deployment Generate. Enter an output directory and a version name (for example, v1), and click OK to generate a new configuration file.
    5. Copy the configuration file to the Web server document root directory’s sports2000 subdirectory.
  6. Configure (if not already configured) and start an instance of the AppServer Internet Adapter to run as a Java servlet in the Java Servlet Engine and to access the AppServer served by asbroker1.
  7. For instructions on setting up the Java Servlet Engine (JSE) and the AppServer Internet Adapter (AIA) on the Web server, see OpenEdge Application Server: Administration and the Progress Knowledge Base entries on setting up the JSE to work with the AIA. To access these, search the Knowledge Base on “JSE” and “AIA.”


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095